package kr.hkit.powerjava.chapter5.work;

import java.util.Scanner;

public class programming1 {
	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		
		String name;
		int age;
		
		System.out.println("이름을 입력하시오.");
		name = input.next();
		System.out.println("나이를 입력하시오.");
		age = input.nextInt();
		
		System.out.println("이름: " + name +"\n나이: " + age);
		System.out.println("이름은 " + name + "이고 나이는 " + age + "세입니다.");
		
	}

}
